package com.ruoyi.common.core.domain.entity;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @Author: ruohao
 * @Date: 2023/9/13
 **/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class Device extends BaseEntity {
    private Long id;
    @Excel(name = "设备名称", cellType = Excel.ColumnType.STRING)
    private String name;
    @Excel(name = "设备编号", cellType = Excel.ColumnType.STRING)
    private String deviceId;
    @Excel(name = "地址", cellType = Excel.ColumnType.STRING)
    private String location;
    @Excel(name = "设备状态", cellType = Excel.ColumnType.STRING)
    private String status;
    @Excel(name = "设备类型", cellType = Excel.ColumnType.STRING)
    private String type;
    @Excel(name = "生产厂家", cellType = Excel.ColumnType.STRING)
    private String producer;
    @Excel(name = "入网信息", cellType = Excel.ColumnType.STRING)
    private String net;
    @Excel(name = "开放端口", cellType = Excel.ColumnType.STRING)
    private String port;
    @Excel(name = "持续在线时长", cellType = Excel.ColumnType.STRING)
    private String last;
    private Long lastTime;
    private Date produceTime;
    private Date keepEndTime;
    @Excel(name = "联系方式", cellType = Excel.ColumnType.STRING)
    private String phone;

    private BigDecimal longitude;//X轴
    private BigDecimal latitude;//y轴

    private Integer count1;
    private Integer count2;
}
